From 18915533401e2ee47cddba63792a9a6665bf2e51 Mon Sep 17 00:00:00 2001 From: Thien-Thi Nguyen Date: Mon, 17 Jul 2006 07:46:05 +0000 Subject: [PATCH] (display_mode_line): Preserve match data. --- src/xdisp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xdisp.c b/src/xdisp.c index d37f142e604..9c6c18df435 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -16542,6 +16542,7 @@ display_mode_line (w, face_id, format) kboard-local variables in the mode_line_format will get the right values. */ push_frame_kboard (it.f); + record_unwind_save_match_data (); display_mode_element (&it, 0, 0, 0, format, Qnil, 0); pop_frame_kboard (); -- 2.30.2